import React, { Component } from "react";

export default ({ money }) => {
    return (
        <div
            style={{
                width: 120,
                height: 40,
                background: "#ef0000",
                marginRight: 12,
                fontSize: 26,
                color: "#fff"
            }}
        >
            <div style={{ flex: 1 }}>
                <div style={{ fontSize: 18 }}>¥</div>
                {money}
            </div>
            <div style={{ flex: 1 }}>领取</div>
        </div>
    );
};
